package com.yantong.pojo;

import com.yantong.pojo.vo.ProductCommentVo;
import com.yantong.pojo.vo.SpellGroupOrdVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Activity {
	private Long id;

	private String activityName;

	private Long centreId;

	private BigDecimal activityPrice;

	private Date validTime;

	private Long productId;

	private String productName;

	private Integer stock;
	/**
	 * 默认已售数量
	 */
	private Integer sold;

	private Date endTime;

	private Date startTime;

	private Long teamId;

	private String thumb;

	private Integer type;

	private Integer range;

	private Integer rule;

	private Integer cond;

	private Integer joinNum;

	private Date createtime;

	private Integer mode;

	private Integer status;

	private BigDecimal maxActivityPrice;

	private String description;

	private String tips;

	private String productDescription;

	private String latitude;

	private String longitude;

	private BigDecimal vipPrice;

	private BigDecimal marketprice;

	private List<OrderProduct> orderProducts;

	private Integer IsJoin;

	private Long liansuoVo;

	private ProductCommentVo coment;
	private List<SpellGroupOrdVo> spellGroupOrdS;

	private Date upStartTime;
	private Date upEndTime;
	private Integer spellgroupStu;

	private BigDecimal consumptionIntegral;

	private Integer giftBagCommission1;
	private Integer giftBagCommission2;
	private Integer shareCommission;

	private Long shopProductAuthorityId;  //购买权限关联id
	private Long handselProductAuthorityId; //赠送权限关联id
	private BigDecimal productprice; //原价
	/**
	 * 实际售出数量
	 */
	private Integer salesreal;

	List<Member> teamList;

	private BigDecimal commissionTotal;

	public BigDecimal getCommissionTotal() {
		return commissionTotal;
	}

	public void setCommissionTotal(BigDecimal commissionTotal) {
		this.commissionTotal = commissionTotal;
	}

	public List<Member> getTeamList() {
		return teamList;
	}

	public void setTeamList(List<Member> teamList) {
		this.teamList = teamList;
	}

	public Integer getSalesreal() {
		return salesreal;
	}

	public void setSalesreal(Integer salesreal) {
		this.salesreal = salesreal;
	}

	public BigDecimal getProductprice() {
		return productprice;
	}

	public void setProductprice(BigDecimal productprice) {
		this.productprice = productprice;
	}

	public Long getShopProductAuthorityId() {
		return shopProductAuthorityId;
	}

	public void setShopProductAuthorityId(Long shopProductAuthorityId) {
		this.shopProductAuthorityId = shopProductAuthorityId;
	}

	public Long getHandselProductAuthorityId() {
		return handselProductAuthorityId;
	}

	public void setHandselProductAuthorityId(Long handselProductAuthorityId) {
		this.handselProductAuthorityId = handselProductAuthorityId;
	}

	private Integer plateType; // '板块类型，0.普通专区，1.粤德公寓专区'

	public Integer getPlateType() {
		return plateType;
	}

	public void setPlateType(Integer plateType) {
		this.plateType = plateType;
	}

	public Integer getGiftBagCommission1() {
		return giftBagCommission1;
	}

	public void setGiftBagCommission1(Integer giftBagCommission1) {
		this.giftBagCommission1 = giftBagCommission1;
	}

	public Integer getGiftBagCommission2() {
		return giftBagCommission2;
	}

	public void setGiftBagCommission2(Integer giftBagCommission2) {
		this.giftBagCommission2 = giftBagCommission2;
	}

	public Integer getShareCommission() {
		return shareCommission;
	}

	public void setShareCommission(Integer shareCommission) {
		this.shareCommission = shareCommission;
	}

	public BigDecimal getConsumptionIntegral() {
		return consumptionIntegral;
	}

	public void setConsumptionIntegral(BigDecimal consumptionIntegral) {
		this.consumptionIntegral = consumptionIntegral;
	}

	public Integer getSpellgroupStu() {
		return spellgroupStu;
	}

	public void setSpellgroupStu(Integer spellgroupStu) {
		this.spellgroupStu = spellgroupStu;
	}

	public Date getUpStartTime() {
		return upStartTime;
	}

	public void setUpStartTime(Date upStartTime) {
		this.upStartTime = upStartTime;
	}

	public Date getUpEndTime() {
		return upEndTime;
	}

	public void setUpEndTime(Date upEndTime) {
		this.upEndTime = upEndTime;
	}

	public List<SpellGroupOrdVo> getSpellGroupOrdS() {
		return spellGroupOrdS;
	}

	public void setSpellGroupOrdS(List<SpellGroupOrdVo> spellGroupOrdS) {
		this.spellGroupOrdS = spellGroupOrdS;
	}

	private String comentCount;

	public ProductCommentVo getComent() {
		return coment;
	}

	public void setComent(ProductCommentVo coment) {
		this.coment = coment;
	}

	public String getComentCount() {
		return comentCount;
	}

	public void setComentCount(String comentCount) {
		this.comentCount = comentCount;
	}

	public List<OrderProduct> getOrderProducts() {
		return orderProducts;
	}

	public void setOrderProducts(List<OrderProduct> orderProducts) {
		this.orderProducts = orderProducts;
	}

	public Integer getIsJoin() {
		return IsJoin;
	}

	public void setIsJoin(Integer isJoin) {
		IsJoin = isJoin;
	}

	public Long getLiansuoVo() {
		return liansuoVo;
	}

	public void setLiansuoVo(Long liansuoVo) {
		this.liansuoVo = liansuoVo;
	}

	public BigDecimal getMarketprice() {
		return marketprice;
	}

	public void setMarketprice(BigDecimal marketprice) {
		this.marketprice = marketprice;
	}

	//多少店铺参与大礼包活动
	private Integer activityProductCount;

	//参与大礼包的所有店铺的商品
	private List<StoreFreecharge> storeFreecharges;

	//参与大礼包的所有店铺的优惠券
	private List<Ticket> tickets;

	private List<ActivityProduct> activityProducts;

	/**
	 * 列表图片
	 */
	private String listImg;
	/**
	 * 海报图片
	 */
	private String posterImg;
	/**
	 * 详情图片
	 */
	private String detailsImg;

	private String[] detailsImgList;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName == null ? null : activityName.trim();
	}

	public BigDecimal getVipPrice() {
		return vipPrice;
	}

	public void setVipPrice(BigDecimal vipPrice) {
		this.vipPrice = vipPrice;
	}

	public Long getCentreId() {
		return centreId;
	}

	public void setCentreId(Long centreId) {
		this.centreId = centreId;
	}

	public BigDecimal getActivityPrice() {
		return activityPrice;
	}

	public void setActivityPrice(BigDecimal activityPrice) {
		this.activityPrice = activityPrice;
	}

	public Date getValidTime() {
		return validTime;
	}

	public void setValidTime(Date validTime) {
		this.validTime = validTime;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName == null ? null : productName.trim();
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb == null ? null : thumb.trim();
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getRange() {
		return range;
	}

	public void setRange(Integer range) {
		this.range = range;
	}

	public Integer getRule() {
		return rule;
	}

	public void setRule(Integer rule) {
		this.rule = rule;
	}

	public Integer getCond() {
		return cond;
	}

	public void setCond(Integer cond) {
		this.cond = cond;
	}

	public Integer getJoinNum() {
		return joinNum;
	}

	public void setJoinNum(Integer joinNum) {
		this.joinNum = joinNum;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getMode() {
		return mode;
	}

	public void setMode(Integer mode) {
		this.mode = mode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public BigDecimal getMaxActivityPrice() {
		return maxActivityPrice;
	}

	public void setMaxActivityPrice(BigDecimal maxActivityPrice) {
		this.maxActivityPrice = maxActivityPrice;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips == null ? null : tips.trim();
	}

	public String getProductDescription() {
		return productDescription;
	}

	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription == null ? null : productDescription.trim();
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude == null ? null : latitude.trim();
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude == null ? null : longitude.trim();
	}

	public Integer getActivityProductCount() {
		return activityProductCount;
	}

	public void setActivityProductCount(Integer activityProductCount) {
		this.activityProductCount = activityProductCount;
	}

	public List<StoreFreecharge> getStoreFreecharges() {
		return storeFreecharges;
	}

	public void setStoreFreecharges(List<StoreFreecharge> storeFreecharges) {
		this.storeFreecharges = storeFreecharges;
	}

	public List<Ticket> getTickets() {
		return tickets;
	}

	public void setTickets(List<Ticket> tickets) {
		this.tickets = tickets;
	}

	public List<ActivityProduct> getActivityProducts() {
		return activityProducts;
	}

	public void setActivityProducts(List<ActivityProduct> activityProducts) {
		this.activityProducts = activityProducts;
	}

	public Integer getSold() {
		return sold;
	}

	public void setSold(Integer sold) {
		this.sold = sold;
	}

	public String getListImg() {
		return listImg;
	}

	public void setListImg(String listImg) {
		this.listImg = listImg;
	}

	public String getPosterImg() {
		return posterImg;
	}

	public void setPosterImg(String posterImg) {
		this.posterImg = posterImg;
	}

	public String getDetailsImg() {
		return detailsImg;
	}

	public void setDetailsImg(String detailsImg) {
		this.detailsImg = detailsImg;
	}

	public String[] getDetailsImgList() {
		return detailsImgList;
	}

	public void setDetailsImgList(String[] detailsImgList) {
		this.detailsImgList = detailsImgList;
	}
}